home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
util
/
wb
/
uninstall.lha
/
UnInstall
/
Developers
/
Docs
next >
Wrap
Text File
|
1999-02-12
|
3KB
|
79 lines
Trogsoft Uninstall Version 1.0
Developer Documentation
If you want to add uninstaller support to your programs, then you will
need to make sure that when the user installs your software using your
software's installer script, a text file must be created by this
script.
This text file contains all the neccessary information for the uninstaller
so if/when the user decides to uninstall your software, they can do
it easily and simply using the Uninstall software in this archive.
The text file must be named something unique. Usually, this will include
software company, and then the name of the product, and if applicable,
the version number. For instance, 'Trogsoft AddAssign v1' or
'Digita Wordworth 7'.
The file's name cannot include spaces, and must have a '.uni' extension
or it won't be recognised by UnInstaller. Use underscores instead of
spaces.
The text file must be created in the Uninstall:Programs/ directory, and
your install script must provide some way of checking if that directory
exists. It's not really good enough to ask the user if they have
UnInstall on their machine. If you are using Commodore (C=) installer
to install your software, then make sure it uses the Exist command
to check for the existence of UnInstall:Programs/
If you're using an AmigaDOS script, then use the If Exist method of
checking. The text file must be laid out like this:
====================================
UNIFILE
<Name Of Product>
WINDOW
<Width>
<Height>
PICTURE
<Name Of Picture, If Any>
TEXT
<Line(s) of Text>
ENDTEXT
FILELIST
<List of files to uninstall>
====================================
The UNIFILE line must be present for the uninstall to work. If UNIFILE
is not present, then UnInstaller will refuse to work with the file.
<Name Of Product> is the full name of your product, and can include
spaces. After missing a line (COMPULSARY), you get the WINDOW command.
Below this are the width and height of the automatically centred
window which will appear when your product is uninstalling.
PICTURE refers to a picture in the 'UnInstall:Art/' directory. If you
want to add your own, make sure your installer script does it when your
product is being installed, then it will be displayed when your
product is being uninstalled too. It must be 16 colours and in IFF
format. If you don't want a picture type 'None' (case sensetive).
TEXT is the start of the text which will appear in your window, and
if you have a picture too, the text will appear under it. There
can be any number of lines of text, as long as you put ENDTEXT at the
end of it.
Finally, FILELIST starts off the list of files which are to be removed.
The added advantage of installing your product using the C= Installer
is that you can add pathnames to this text file when it is created,
The list of files can include standard AmigaDOS wildcards and the
'All' keyword.
IE, UCM:#? All
PPaint:#? All